#pragma once
class MFont
{
public:
	MFont(void);
	~MFont(void);

	bool Initialize(int height, int width, int weight, bool italic, bool underline, bool strikeout,
		BYTE charset, BYTE outputprecision, BYTE clipprecision, BYTE quality, BYTE pitchandfamily,
		LPCTSTR fontname);
	void UnIntialtize();
	void PrintText(HDC hdc, int x, int y, int width, int height, LPCTSTR text, int count);
	
	inline void SetPrintTextColor(DWORD rgb) { m_TextColor = rgb;}

private:
	HFONT m_Font;
	COLORREF m_TextColor;
};

